package com.bestcem.xm.om.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @author zq.ding <zq.ding@idiaoyan.com>
 * @version v1.0
 * @date 2021/12/22 10:39
 */
@Getter
@Setter
@NoArgsConstructor
@ToString
public class OmRole {
    /**
     * 实体标识
     */
    private String id;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 角色名
     */
    private String title;

    /**
     * 描述
     */
    private String content;

    /**
     * 权限
     */
    private String permissions;

    /**
     * 是否是超管
     *
     * @see OmRoleTypeEnum
     */
    private Integer type;
}
